package com.edu.dao;

import com.edu.bean.Cars;
import com.edu.bean.Carsdata;

import java.util.List;

public interface CarDao {
    List<Cars> getAll(int pageNum,int pageSize);
    List<Cars> selectCarsAll();
    int selectCarjc();
    int selectCarpc();
    int selectCarSuv();
    Cars getById(int id);
    int addcar(Cars cars);
    int selectUserAll(Cars car);
    int update(Cars car);
    int delete(int id);
}